package com.ying.user.config;

//@Configuration
//public class WebMvcConfig implements WebMvcConfigurer {
//
//    private static final long MAX_AGE_SECS = 3600;
//
//    @Override
//    public void addCorsMappings(CorsRegistry registry) {
//        registry.addMapping("/**")
//                .allowedOrigins("*")
//                .allowedMethods("HEAD", "OPTIONS", "GET", "POST", "PATCH", "DELETE")
//                .maxAge(MAX_AGE_SECS);
//    }
//}
